package com.example.druid.demo_druid.interceptor;


import com.example.druid.demo_druid.enums.DatabaseType;

import java.lang.annotation.*;

/**
 * Created by 奶茶 on 2017/9/24.
 */
@Target(ElementType.METHOD)
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface DataSource {

    /**
     * 类型
     * @return
     */
    DatabaseType databaseType() default DatabaseType.springgbootmaster;


}
